function toggleFull(el) {
    if (!document.fullscreenElement) {
        // 进入全屏
        document.querySelector(el).requestFullscreen()
    } else {
        // 退出全屏
        if (document.exitFullscreen) {
            document.exitFullscreen()
        }
    }
}
export { toggleFull }